/**
 * @copyright Copyright (c) 2023 Wang Xutao, All Rights Reserved.
 * @file      lite_button_cfg.h
 * @brief     The configurations of the button in lite library.
 * @version   Initial revision. Rev 1.0.0
 * @author    WangXutao
 * @date      2023-05-11
 * ********************************************************************************
 * @par       history (The following format is used to generate help documents.)
 * <table>
 * <tr><th>Version <th>Date    <th>Author      <th>Changes and comments
 * <tr><td>V1.0.0 <td>2023-05-11  <td>WangXutao    <td>Created
 * </table>
 */
#ifndef __LITE_BUTTON_CFG_H__
#define __LITE_BUTTON_CFG_H__

/**************************************** Macros  ****************************************/

/* Debounce ticks. */
#define LITE_BUTTON_DEBOUNCE_TICKS 2
/* Mouse continuous-click timeout ticks. */
#define LITE_BUTTON_CONTINIOUS_CLICK_TIMEOUT 30
/* The minimum and default timeout for trigger the hold state different from the single click. */
#define LITE_BUTTON_HOLD_TIMEOUT_TICKS 100
/* The triggere interval ticks during hold state. */
#define LITE_BUTTON_HOLD_INTERVAL_TICKS 10

#endif
